#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QDateTime>
#include <QString>
#include <QDesktopWidget>
#include <QTimer>
#define FPS 1000
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT
    
public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
private slots:
    void timeshow();
private:
    Ui::Widget *ui;
    QDateTime time;
    QString string;
    QTimer *timer;
    int S_width;
    int S_height;
    QDesktopWidget *desktop;
};

#endif // WIDGET_H
